package com.ymttest.common.entitie;

import java.math.BigDecimal;
import java.util.Date;

import com.ymttest.common.enums.ActivityPromotionTypeEnum;

/**
 * @author zhouyi 活动信息
 */
public class ActivityVo {

    private static final long serialVersionUID = -578534863087072146L;

    // 商品活动号
    private long activityId;

    // 额外费用
    private BigDecimal premium;

    // 是否算入成本价
    private boolean isCost;

    // 是否使用优惠券
    private boolean isUseCoupon;

    // 是否免佣金
    private boolean isFeeFree;

    // 商品活动开始时间
    private Date activityBeginDate;

    // 商品活动结束时间
    private Date activityEndDate;

    // 商品活动模板号
    private long activityTemplateId;

    // 商品活动促销类型
    private ActivityPromotionTypeEnum promotionType;

    // / 促销价格
    private BigDecimal promotionPrice;


    // 佣金比率
    private BigDecimal commissionRate;


    public long getActivityId() {
        return activityId;
    }


    public void setActivityId(long activityId) {
        this.activityId = activityId;
    }


    public BigDecimal getPremium() {
        return premium;
    }


    public void setPremium(BigDecimal premium) {
        this.premium = premium;
    }


    public boolean isCost() {
        return isCost;
    }


    public void setCost(boolean isCost) {
        this.isCost = isCost;
    }


    public boolean isUseCoupon() {
        return isUseCoupon;
    }


    public void setUseCoupon(boolean isUseCoupon) {
        this.isUseCoupon = isUseCoupon;
    }


    public boolean isFeeFree() {
        return isFeeFree;
    }


    public void setFeeFree(boolean isFeeFree) {
        this.isFeeFree = isFeeFree;
    }


    public Date getActivityBeginDate() {
        return activityBeginDate;
    }


    public void setActivityBeginDate(Date activityBeginDate) {
        this.activityBeginDate = activityBeginDate;
    }


    public Date getActivityEndDate() {
        return activityEndDate;
    }


    public void setActivityEndDate(Date activityEndDate) {
        this.activityEndDate = activityEndDate;
    }


    public long getActivityTemplateId() {
        return activityTemplateId;
    }


    public void setActivityTemplateId(long activityTemplateId) {
        this.activityTemplateId = activityTemplateId;
    }


    public ActivityPromotionTypeEnum getPromotionType() {
        return promotionType;
    }


    public void setPromotionType(ActivityPromotionTypeEnum promotionType) {
        this.promotionType = promotionType;
    }


    public BigDecimal getPromotionPrice() {
        return promotionPrice;
    }


    public void setPromotionPrice(BigDecimal promotionPrice) {
        this.promotionPrice = promotionPrice;
    }


    public BigDecimal getCommissionRate() {
        return commissionRate;
    }


    public void setCommissionRate(BigDecimal commissionRate) {
        this.commissionRate = commissionRate;
    }
}
